package com.example.medical.service;

import com.example.medical.entity.dto.UserGetNoticeListDto;
import com.example.medical.entity.pojo.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.medical.utils.common.result.Result;
import org.springframework.web.multipart.MultipartFile;

/**
* @author 24354
* @description 针对表【notice】的数据库操作Service
* @createDate 2024-03-31 22:42:19
*/
public interface NoticeService extends IService<Notice> {

    Result UserGetNoticeList(UserGetNoticeListDto dto);

    Result AdminRemoveNoticeArr(String[] ids);

    Result AdminUpdateNotice(Long id, String name, Long typeId, MultipartFile file, String message) throws Exception;

    Result AdminSaveNotice(String name, Long typeId, MultipartFile file, String message) throws Exception;
}
